<?php
class Test_CV extends UnitTestCase{
	function test_path(){
		
		$this->assertEqual( implode(DIRECTORY_SEPARATOR,array('x','yy','z','a')), CV::path( 'x\yy//z\\\\a' ) );
		
		$this->assertEqual( DIRECTORY_SEPARATOR.'x'. DIRECTORY_SEPARATOR, CV::path( '/x/' ) );
	}
}